import Vue from 'vue'
import VueRouter from 'vue-router'

import { routeImport } from '../../../../src/index'

Vue.use(VueRouter)

const routes = routeImport.importRoute({
  context: require.context('../views'),
  root: 'ChildA',
})

console.log(routes)

const router = new VueRouter({
  routes,
})

export default router
